package dome1;

public class Test {
    public static void drawMap(IShape iShape){
        iShape.draw();
    }
    public static void main(String[] args){
        IShape iShape1 = new Cycle();
        IShape iShape2 = new Rect();
        drawMap(iShape1);
        drawMap(iShape2);

    }

}
